package com.gof.example.composite;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/6 18:57.
 * haiming.fei@tongdun.cn
 */
//unsafe composite pattern
public abstract class Component {

    abstract void refresh();

    public void addComponent(Component c) {
        return;
    }
}
